package jedicourse.jduplessy.exercisesChapter6.core;

public class Turno {

	private int horaInicio;
	private int horaFin;
	
	public Turno(int horaInicio, int horaFin){
		this.horaInicio = Integer.valueOf(horaInicio);
		this.horaFin = Integer.valueOf(horaFin);
	}
	
	public int getHoraInicio(){
		return this.horaInicio;
	}

	public int getHoraFin(){
		return this.horaFin;
	}
	
	public int obtenerHorasPorSemana(){
		return Integer.valueOf((this.getHoraFin()-this.getHoraInicio())*5); 
	}
	
}
